package com.ahearttogo.rpc;

import com.ahearttogo.rpc.server.RpcServer;
import com.ahearttogo.rpc.server.RpcServerConfig;

/**
 * @author xiejialin
 * @date 2020/2/17 7:47 PM
 */
public class Server {

    public static void main(String[] args) {
        RpcServer server = new RpcServer();
        server.register(CalcService.class, new CalcServiceImpl());
        server.start();

    }
}
